//
//  ViewController.h
//  更丰富的用户界面
//
//  Created by student on 16/2/18.
//  Copyright © 2016年 niit. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController
@property (weak, nonatomic) IBOutlet UITextField *nameTextField;
@property (weak, nonatomic) IBOutlet UITextField *numberTextField;
@property (weak, nonatomic) IBOutlet UIButton *doSomethingBtn;
@property (weak, nonatomic) IBOutlet UISwitch *leftSwitch;
@property (weak, nonatomic) IBOutlet UISwitch *rightSwitch;

@property (weak, nonatomic) IBOutlet UILabel *label;

- (IBAction)switchChanged:(id)sender;

- (IBAction)segementedChanged:(id)sender;

- (IBAction)doSomething:(id)sender;
- (IBAction)sliderChanged:(id)sender;


- (IBAction)backPre:(id)sender;
@end

